link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Mon, 1 Sep 2025 19:59:29 +0000 (22:59 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 1 Sep 2025 19:59:29 +0000 (22:59 +0300)
commit77d4a133691ee0f8d32f1afce09184d6010c58a9
treed8ee454ae4ff5d750fd9bc85b08d4c7dad079158
parent1fe1e4de313c4544d0f61f79e37438049f4fa920
link the openglrenderer plugin with -latomic on riscv64

Forwarded: no
Last-Update: 2020-10-30

Otherwise it fails to build with the following error:
/usr/bin/ld: .obj/renderview.o: in function `QHash<int, Qt3DRender::Render::OpenGL::RenderView::StandardUniform>::findNode(int const&, unsigned int) const':
/usr/include/riscv64-linux-gnu/qt5/QtCore/qhash.h:931: undefined reference to `__atomic_exchange_1'

Gbp-Pq: Name riscv64_atomic.diff
src/plugins/renderers/opengl/opengl.pri